package com.logos;

import com.logos.config.SpringConfig;
import com.logos.controller.TestController;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class AppForTest {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(SpringConfig.class);
        TestController bean = ctx.getBean(TestController.class);
        System.out.println("bean = " + bean);
    }
}
